package org.csu.mypetstore.service;

import org.csu.mypetstore.commonResponse.CommonResponse;
import org.csu.mypetstore.domin.Cart;

import java.math.BigDecimal;
import java.util.List;

public interface CartService {

    CommonResponse<List<Cart>> getCartList(String username);

    CommonResponse<Cart> getCart(String itemId,String username);


    CommonResponse<Cart> InsterToCart(Cart cart);

    CommonResponse<String> DeleteCart(String itemId, String username);

    CommonResponse<Cart> UpdateCart(Cart cart);
}
